/**************************************************
|	File:		Armor.h
|	Author:		Benjamin Budian
|	Course:		Self
|	Purpose:	Handles the weapon drops
**************************************************/
#pragma once
#include "entity.h"
#include "../SGD Wrappers/IListener.h"
#include "../SGD Wrappers/SGD_String.h"

class Weapon :
	public CEntity, public IListener
{
public:
	enum WeaponTypes { BOW, SWORD };

	Weapon();
	virtual ~Weapon();

	//Updates image per frame
	virtual void Update(float elapsed_time) override;

	//Displays image per frame
	virtual void Render() override;

	//Handles events
	virtual void HandleEvent(CEvent* pEvent) override;

	WeaponTypes GetWeaponType() { return type; }
	void SetWeaponType(WeaponTypes type) { this->type = type; }

	//Determines whether or not to display debug information
	void SetDebubMode(bool debug) { this->debug = debug; }

	//Initialized weapon based on type
	void Initialize(float position_x, float position_y, WeaponTypes type,bool debug = false);

private:
	WeaponTypes type;

	int image_id;

	bool debug;

	
};

